package Review.String;

public class Test {
    public static void main(String[] args) {

    }
    public void reserve(char[] s){
        int l=0;
        int r=s.length-1;
        while(l<r){
            char temp=s[l];
            s[l]=s[r];
            s[r]=temp;
            l++;
            r--;
        }
    }
}
